package com.xiaoshuidi.cloud.module.report.dal.mapper.report;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.report.controller.ajreport.vo.ReportRoomReverseReqVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.ReportRoomReserveDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface ReportRoomReserveMapper extends BaseMapperX<ReportRoomReserveDO> {

    long countReverseUnHandle();

    List<ReportRoomReserveDO> selectReverseUnHandle();

    List<ReportRoomReserveDO> selectReverseUnHandlePage(@Param("from") int from, @Param("pageSize") int pageSize);



    long countReverseForExport(@Param("req") ReportRoomReverseReqVO req);

    List<ReportRoomReserveDO> selectReverseListForExport(@Param("req") ReportRoomReverseReqVO req, @Param("from") Integer from, @Param("pageSize") Integer pageSize);


}
